LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)
LEAD Technologies, Inc

RegisterSingle<I>(Type) Method






Type that will be request.
Type that will acutally be returned.
Registers a single instance of a type mapping with the container.
Syntax
public static void RegisterSingle<I>( 
   Type to
)
'Declaration
 
Public Overloads Shared Sub RegisterSingle(Of I)( _
   ByVal to As Type _
) 
'Usage
 
Dim to As Type
 
ServiceLocator.RegisterSingle(Of I)(to)
public static void RegisterSingle<I>( 
   Windows.UI.Xaml.Interop.TypeName to
)
 function Leadtools.Dicom.AddIn.ServiceLocator.RegisterSingle``1(Type)( 
   to 
)
public:
static void RegisterSinglegeneric<typename I>
( 
   Type^ to
) 

Parameters

to
Type that will acutally be returned.

Type Parameters

I
Type that will be request.
Remarks
When types are registered using this function only one instance is returned. Each Retrieve request will return the same object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceLocator Class
ServiceLocator Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features